package com.controller.sys; 

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


@Controller
public class MvcController {
	
	@RequestMapping("/hello")
	public ModelAndView hello() {
		// return "hello";
		ModelAndView mav = new ModelAndView("hello");
		return mav;
	}
	@RequestMapping("/test")
	public String test() {

		System.out.println("test!");
		return "test/test";
	}
}
